package com.ruoyi.system.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;

import java.io.Serializable;
import java.util.Date;

/**
 * 订单核查有效信息表
 * @TableName sys_order_strike_valid
 */
public class SysOrderStrikeValid implements Serializable {
    /**
     * 
     */
    @TableId(type = IdType.AUTO)
    private Integer id;

    /**
     * 
     */
    private String orderStrikeUserName;

    /**
     * 
     */
    private String orderStrikeUserAddress;

    /**
     * 
     */
    private String orderStrikeUserIndo;

    /**
     * 
     */
    private String orderStrikeUserWork;

    /**
     * 
     */
    private String orderStrikeUserOccupation;

    /**
     * 
     */
    private String orderStrikeUserTel;

    /**
     * 
     */
    private Integer status;

    /**
     * 
     */
    private Date creTime;

    /**
     * 
     */
    private Integer orderId;

    private static final long serialVersionUID = 1L;

    /**
     * 
     */
    public Integer getId() {
        return id;
    }

    /**
     * 
     */
    public void setId(Integer id) {
        this.id = id;
    }

    /**
     * 
     */
    public String getOrderStrikeUserName() {
        return orderStrikeUserName;
    }

    /**
     * 
     */
    public void setOrderStrikeUserName(String orderStrikeUserName) {
        this.orderStrikeUserName = orderStrikeUserName;
    }

    /**
     * 
     */
    public String getOrderStrikeUserAddress() {
        return orderStrikeUserAddress;
    }

    /**
     * 
     */
    public void setOrderStrikeUserAddress(String orderStrikeUserAddress) {
        this.orderStrikeUserAddress = orderStrikeUserAddress;
    }

    /**
     * 
     */
    public String getOrderStrikeUserIndo() {
        return orderStrikeUserIndo;
    }

    /**
     * 
     */
    public void setOrderStrikeUserIndo(String orderStrikeUserIndo) {
        this.orderStrikeUserIndo = orderStrikeUserIndo;
    }

    /**
     * 
     */
    public String getOrderStrikeUserWork() {
        return orderStrikeUserWork;
    }

    /**
     * 
     */
    public void setOrderStrikeUserWork(String orderStrikeUserWork) {
        this.orderStrikeUserWork = orderStrikeUserWork;
    }

    /**
     * 
     */
    public String getOrderStrikeUserOccupation() {
        return orderStrikeUserOccupation;
    }

    /**
     * 
     */
    public void setOrderStrikeUserOccupation(String orderStrikeUserOccupation) {
        this.orderStrikeUserOccupation = orderStrikeUserOccupation;
    }

    /**
     * 
     */
    public String getOrderStrikeUserTel() {
        return orderStrikeUserTel;
    }

    /**
     * 
     */
    public void setOrderStrikeUserTel(String orderStrikeUserTel) {
        this.orderStrikeUserTel = orderStrikeUserTel;
    }

    /**
     * 
     */
    public Integer getStatus() {
        return status;
    }

    /**
     * 
     */
    public void setStatus(Integer status) {
        this.status = status;
    }

    /**
     * 
     */
    public Date getCreTime() {
        return creTime;
    }

    /**
     * 
     */
    public void setCreTime(Date creTime) {
        this.creTime = creTime;
    }

    /**
     * 
     */
    public Integer getOrderId() {
        return orderId;
    }

    /**
     * 
     */
    public void setOrderId(Integer orderId) {
        this.orderId = orderId;
    }

    @Override
    public boolean equals(Object that) {
        if (this == that) {
            return true;
        }
        if (that == null) {
            return false;
        }
        if (getClass() != that.getClass()) {
            return false;
        }
        SysOrderStrikeValid other = (SysOrderStrikeValid) that;
        return (this.getId() == null ? other.getId() == null : this.getId().equals(other.getId()))
            && (this.getOrderStrikeUserName() == null ? other.getOrderStrikeUserName() == null : this.getOrderStrikeUserName().equals(other.getOrderStrikeUserName()))
            && (this.getOrderStrikeUserAddress() == null ? other.getOrderStrikeUserAddress() == null : this.getOrderStrikeUserAddress().equals(other.getOrderStrikeUserAddress()))
            && (this.getOrderStrikeUserIndo() == null ? other.getOrderStrikeUserIndo() == null : this.getOrderStrikeUserIndo().equals(other.getOrderStrikeUserIndo()))
            && (this.getOrderStrikeUserWork() == null ? other.getOrderStrikeUserWork() == null : this.getOrderStrikeUserWork().equals(other.getOrderStrikeUserWork()))
            && (this.getOrderStrikeUserOccupation() == null ? other.getOrderStrikeUserOccupation() == null : this.getOrderStrikeUserOccupation().equals(other.getOrderStrikeUserOccupation()))
            && (this.getOrderStrikeUserTel() == null ? other.getOrderStrikeUserTel() == null : this.getOrderStrikeUserTel().equals(other.getOrderStrikeUserTel()))
            && (this.getStatus() == null ? other.getStatus() == null : this.getStatus().equals(other.getStatus()))
            && (this.getCreTime() == null ? other.getCreTime() == null : this.getCreTime().equals(other.getCreTime()))
            && (this.getOrderId() == null ? other.getOrderId() == null : this.getOrderId().equals(other.getOrderId()));
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;
        result = prime * result + ((getId() == null) ? 0 : getId().hashCode());
        result = prime * result + ((getOrderStrikeUserName() == null) ? 0 : getOrderStrikeUserName().hashCode());
        result = prime * result + ((getOrderStrikeUserAddress() == null) ? 0 : getOrderStrikeUserAddress().hashCode());
        result = prime * result + ((getOrderStrikeUserIndo() == null) ? 0 : getOrderStrikeUserIndo().hashCode());
        result = prime * result + ((getOrderStrikeUserWork() == null) ? 0 : getOrderStrikeUserWork().hashCode());
        result = prime * result + ((getOrderStrikeUserOccupation() == null) ? 0 : getOrderStrikeUserOccupation().hashCode());
        result = prime * result + ((getOrderStrikeUserTel() == null) ? 0 : getOrderStrikeUserTel().hashCode());
        result = prime * result + ((getStatus() == null) ? 0 : getStatus().hashCode());
        result = prime * result + ((getCreTime() == null) ? 0 : getCreTime().hashCode());
        result = prime * result + ((getOrderId() == null) ? 0 : getOrderId().hashCode());
        return result;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", orderStrikeUserName=").append(orderStrikeUserName);
        sb.append(", orderStrikeUserAddress=").append(orderStrikeUserAddress);
        sb.append(", orderStrikeUserIndo=").append(orderStrikeUserIndo);
        sb.append(", orderStrikeUserWork=").append(orderStrikeUserWork);
        sb.append(", orderStrikeUserOccupation=").append(orderStrikeUserOccupation);
        sb.append(", orderStrikeUserTel=").append(orderStrikeUserTel);
        sb.append(", status=").append(status);
        sb.append(", creTime=").append(creTime);
        sb.append(", orderId=").append(orderId);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}